package com.example.program.demos.mapper;

import com.example.program.demos.bean.TotalAttendance;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface TianXingMapper {
    List<Map<String, Object>> selectAll(Map<String, Object> map);

    void insertAttendance(Map<String, Object> totalAttendance);

    void insertUser(Map<String, Object> user);

    Map<String, Object> reportAttendance(Map<String, Object> mapp);

    Map<String, Object> selectUserInf(Map<String, Object> user);

    void updateUser(Map<String, Object> user);

    void updateAttendance(Map<String, Object> list);

    int selectAllCounts(Map<String, Object> map);

    void updateUserInf(Map<String, Object> userInf);

    void updateUserAttendance(Map<String, Object> userInf);
}
